package com.soft.collateral.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.soft.collateral.entity.StorageApply;
import com.soft.collateral.entity.StorageApproval;
import com.soft.collateral.entity.WithdrawApplyDetail;
import com.soft.collateral.vo.PageQueryVO;

import java.util.List;

public interface StorageService extends IService<StorageApply> {
    List<StorageApply> listAll();
    Page<StorageApply> pageQuery(PageQueryVO pageQueryVO);
    StorageApply getByIdWithDetails(Integer id);
    boolean saveStorageApply(StorageApply storageApply);
    boolean updateStorageApply(StorageApply storageApply);
    boolean removeByIdWithDetails(Integer id);
    boolean approveStorageApply(StorageApproval approval);
}